package com.suneee.cloud.user;

import com.suneee.sso.admin.entity.Administrator;

public interface UserLoginService {

	/**
	 * 平台端登录
	 * @param validateCode
	 * @param account
	 * @param password
	 * @param sessionId
	 * @param clientIp
	 * @param appCode
	 * @return
	 */
	public Administrator login(String validateCode,String account,String password,String sessionId, String clientIp, String appCode);
	
	/**
	 * 企业端登录
	 * @param validateCode
	 * @param enterpriseName
	 * @param account
	 * @param password
	 * @param sessionId
	 * @param clientIp
	 * @param appCode
	 * @return
	 */
	public Administrator loginEn(String validateCode,String enterpriseName,String account,String password,String sessionId, String clientIp, String appCode);
	 
	public void loginOut();
	
	public Boolean checkLogin();
	
}
